import App from './App'


// #ifndef VUE3
import Vue from 'vue'
import store from './store'
import TabBar from './components/tab-bar.vue'
import Nav from './components/nav-custom.vue'
import Title from './components/home-title.vue'
import GoodsItem from './components/goods-item.vue'
import uView from "uview-ui";
import $H from "./common/request.js"
Vue.use(uView);
uni.$u.config.unit = 'rpx'
Vue.component("tab-bar", TabBar)
Vue.component("nav-custom", Nav)
Vue.component("home-title", Title)
Vue.component("goods-item", GoodsItem)
Vue.prototype.$H = $H
Vue.config.productionTip = false
App.mpType = 'app'
const app = new Vue({
	...App,
  store
})
app.$mount()
// #endif

// #ifdef VUE3
import {
	createSSRApp
} from 'vue'
export function createApp() {
	const app = createSSRApp(App)
	return {
		app
	}
}
// #endif
